<template>
  <page-header-wrapper :title="false" >
    <a-card>
      <div class="table-page-search-wrapper">
        <a-form layout="inline">
          <a-row :gutter="48">
            <a-col :md="6" :sm="24">
              <a-form-item label="调价日期">
                <a-range-picker :value="value4" />
              </a-form-item>
            </a-col>
            <a-col :md="6" :sm="24">
              <a-form-item label="筛选">
                <a-input :value="value" placeholder="请输入" />
              </a-form-item>
            </a-col>
            <a-col :md="!advanced && 8 || 24" :sm="24">
              <span class="table-page-search-submitButtons" :style="advanced && { float: 'right', overflow: 'hidden' } || {} ">
                <a-button type="primary" @click="$refs.table.refresh(true)">查询</a-button>
                <a-button style="margin-left: 8px" @click="() => queryParam = {}">重置</a-button>
                <!-- <a @click="toggleAdvanced" style="margin-left: 8px">
                  {{ advanced ? '收起' : '展开' }}
                  <a-icon :type="advanced ? 'up' : 'down'"/>
                </a> -->
              </span>
            </a-col>
          </a-row>
        </a-form>
      </div>
      <a-table
        ref="table"
        size="default"
        rowKey="key"
        :columns="columns"
        :data="loadData"
      >
        <span slot="serial" slot-scope="text, record, index">
          {{ index + 1 }}
        </span>
      </a-table>
    </a-card>
  </page-header-wrapper>
</template>
  
  <script>
  export default {
    name: 'SecondhandQuoteRecord',
    data () {
      return {
        mdl: null,
        visible: false,
        value:'',
        value4:'',
        confirmLoading:false,
        // 高级搜索 展开/关闭
        advanced: false,
        // 查询参数
        queryParam: {},
        // 表头
        columns: [
          {
            title: '询价日期',
            dataIndex: 'no1'
          },
          {
            title: '询价单ID',
            dataIndex: 'no2'
          },
          {
            title: '品牌',
            dataIndex: 'no3'
          },
          {
            title: '型号',
            dataIndex: 'no4'
          },
          {
            title: '询价店面',
            dataIndex: 'no5'
          },
          {
            title: '询价人',
            dataIndex: 'no7'
          },
          {
            title: '询价状态',
            dataIndex: 'no7'
          },
          {
            title: '未成交原因',
            dataIndex: 'no7'
          },
          {
            title: '报价信息',
            dataIndex: 'no7'
          },
        ],
        // 加载数据方法 必须为 Promise 对象
        loadData:[],
      }
    },
    methods: {
     
     
    }
  }
  </script>